/*
 * @Description: 
 * @Author: fograin4
 * @Date: 2023-08-30 10:18:55
 * @LastEditTime: 2023-10-17 09:56:04
 * @LastEditors: fograin4
 * @Reference: 
 */
import api from '../utils/request'

// export const AddEquipData = (method:any, params:any, data:any) => api({
//   url: '/equipment/equip_data',
//   headers: {
//     'Content-Type': 'multipart/form-data'
//   },
//   method,
//   params,
//   data
// })

// 对象左侧数据
export const getMould = (method: any, params: any, data: any) => api({
  url: '/api/get_mould',
  method,
  params,
  data
})

// 对象类型添加
export const insertMould = (method: any, params: any, data: any) => api({
  url: '/api/insert_mould',
  method,
  params,
  data
})

// 对象类型修改
export const updateMould = (method: any, params: any, data: any) => api({
  url: '/api/update_mould',
  method,
  params,
  data
})

// 对象类型删除
export const removeMould = (method: any, params: any, data: any) => api({
  url: '/api/remove_mould',
  method,
  params,
  data
})

// 对象基本信息添加
export const insertObj = (method: any, params: any, data: any) => api({
  url: '/api/insert_obj',
  method,
  params,
  data
})

// 获取所有对象类型数据
export const getAllObjMould = (method: any, params: any, data: any) => api({
  url: '/api/get_all_obj_mould',
  method,
  params,
  data
})

// 对象绑定状态
export const insertObjStatus = (method: any, params: any, data: any) => api({
  url: '/api/insert_obj_status',
  method,
  params,
  data
})

// 对象绑定动作
export const insertObjMove = (method: any, params: any, data: any) => api({
  url: '/api/insert_obj_move',
  method,
  params,
  data
})

// 对象删除
export const removeObj = (method: any, params: any, data: any) => api({
  url: '/api/remove_obj',
  method,
  params,
  data
})

// 获取对象信息
export const getObjInfo = (method: any, params: any, data: any) => api({
  url: '/api/get_obj_info',
  method,
  params,
  data
})

// 获取对象状态
export const getObjStatus = (method: any, params: any, data: any) => api({
  url: '/api/get_obj_status',
  method,
  params,
  data
})

// 添加实例（基本信息）
export const insertExam = (method: any, params: any, data: any) => api({
  url: '/api/insert_exam',
  method,
  params,
  data
})


// 添加实例（状态值发生变化）
export const updateExamStatueValue = (method: any, params: any, data: any) => api({
  url: '/api/update_exam_statue_value',
  method,
  params,
  data
})

// 添加实例（状态值发生变化）
export const getAllObjsStaus = (method: any, params: any, data: any) => api({
  url: '/api/get_all_objs_status',
  method,
  params,
  data
})

// 获取指定实例状态
export const getExamStatus = (method: any, params: any, data: any) => api({
  url: '/api/get_exam_status',
  method,
  params,
  data
})

// 删除实例
export const removeExam = (method: any, params: any, data: any) => api({
  url: '/api/remove_exam',
  method,
  params,
  data
})

// 获取实例基本信息
export const getExamInfo = (method: any, params: any, data: any) => api({
  url: '/api/get_exam_info',
  method,
  params,
  data
})

// 获取实例基本信息
export const getAllObj = (method: any, params: any, data: any) => api({
  url: '/api/get_all_obj',
  method,
  params,
  data
})